package com.varian.rabbit.constant;

import com.varian.rabbit.model.RabbitRoute;

/**
 * @author ben
 * @since 2024/8/29
 */
public interface RabbitConstant {

    String EXCHANGE_DEFAULT_DIRECT = "amq.direct";
    String EXCHANGE_DEFAULT_FANOUT = "amq.fanout";
    String EXCHANGE_DEFAULT_HEADERS = "amq.headers";
    String EXCHANGE_DEFAULT_MATCH = "amq.match";
    String EXCHANGE_DEFAULT_RABBITMQ_TRACE = "amq.rabbitmq.trace";
    String EXCHANGE_DEFAULT_TOPIC = "amq.topic";
    String EXCHANGE_DEAD = "amqp.dead";

    String QUEUE_DEAD = "queue_dead";

    String ROUTING_KEY_DEAD = "routing_key_dead";

    RabbitRoute ROUTE_DEAD = RabbitRoute.of(EXCHANGE_DEAD, ROUTING_KEY_DEAD);

}
